package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.DesignerProjectItems;
import com.ecoolex.ying.space.entity.DesignerProjectItemsExample;
import com.ecoolex.ying.space.entity.DesignerProjectItemsWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DesignerProjectItemsMapper {
    long countByExample(DesignerProjectItemsExample example);

    int deleteByExample(DesignerProjectItemsExample example);

    int deleteByPrimaryKey(Integer itemsId);

    int insert(DesignerProjectItemsWithBLOBs record);

    int insertSelective(@Param("record") DesignerProjectItemsWithBLOBs record, @Param("selective") DesignerProjectItemsWithBLOBs.Column ... selective);

    DesignerProjectItems selectOneByExample(DesignerProjectItemsExample example);

    DesignerProjectItemsWithBLOBs selectOneByExampleWithBLOBs(DesignerProjectItemsExample example);

    List<DesignerProjectItemsWithBLOBs> selectByExampleWithBLOBs(DesignerProjectItemsExample example);

    List<DesignerProjectItems> selectByExample(DesignerProjectItemsExample example);

    DesignerProjectItemsWithBLOBs selectByPrimaryKey(Integer itemsId);

    DesignerProjectItemsWithBLOBs selectByPrimaryKeyWithLogicalDelete(@Param("itemsId") Integer itemsId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DesignerProjectItemsWithBLOBs record, @Param("example") DesignerProjectItemsExample example, @Param("selective") DesignerProjectItemsWithBLOBs.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") DesignerProjectItemsWithBLOBs record, @Param("example") DesignerProjectItemsExample example);

    int updateByExample(@Param("record") DesignerProjectItems record, @Param("example") DesignerProjectItemsExample example);

    int updateByPrimaryKeySelective(@Param("record") DesignerProjectItemsWithBLOBs record, @Param("selective") DesignerProjectItemsWithBLOBs.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(DesignerProjectItemsWithBLOBs record);

    int updateByPrimaryKey(DesignerProjectItems record);

    int batchInsert(@Param("list") List<DesignerProjectItemsWithBLOBs> list);

    int batchInsertSelective(@Param("list") List<DesignerProjectItemsWithBLOBs> list, @Param("selective") DesignerProjectItemsWithBLOBs.Column ... selective);

    int logicalDeleteByExample(@Param("example") DesignerProjectItemsExample example);

    int logicalDeleteByPrimaryKey(Integer itemsId);
}